import * as ElementPlusIconsVue from '@element-plus/icons-vue'

export default defineNuxtPlugin((nuxtApp) => {
  const vueApp = nuxtApp.vueApp
  
  // 注册element-plus的图标
  Object.keys(ElementPlusIconsVue).forEach((key) => {
    // @ts-ignore
    vueApp.component(key, ElementPlusIconsVue[key])
  })

})
